package com.ruoyi.bus.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 bus_factor
 * 
 * @author ruoyi
 * @date 2021-09-10
 */
public class BusFactor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private BusMonitor busMonitor;

    private BusData busData;

    /** id */
    private Long factorId;

    /** 因子名称 */
    @Excel(name = "因子名称")
    private String factorName;

    /** 监测点 */
    @Excel(name = "监测点")
    private String monitorId;

    /** 因子简称 */
    @Excel(name = "因子简称")
    private String factorCode;

    public BusData getBusData() {
        return busData;
    }

    public void setBusData(BusData busData) {
        this.busData = busData;
    }

    public void setFactorId(Long factorId)
    {
        this.factorId = factorId;
    }

    public Long getFactorId() 
    {
        return factorId;
    }
    public void setFactorName(String factorName) 
    {
        this.factorName = factorName;
    }

    public String getFactorName() 
    {
        return factorName;
    }
    public void setMonitorId(String monitorId) 
    {
        this.monitorId = monitorId;
    }

    public String getMonitorId() 
    {
        return monitorId;
    }
    public void setFactorCode(String factorCode) 
    {
        this.factorCode = factorCode;
    }

    public String getFactorCode() 
    {
        return factorCode;
    }

    public BusMonitor getBusMonitor() {
        return busMonitor;
    }

    public void setBusMonitor(BusMonitor busMonitor) {
        this.busMonitor = busMonitor;
    }

    @Override
    public String toString() {
        return "BusFactor{" +
                "busMonitor=" + busMonitor +
                ", busData=" + busData +
                ", factorId=" + factorId +
                ", factorName='" + factorName + '\'' +
                ", monitorId='" + monitorId + '\'' +
                ", factorCode='" + factorCode + '\'' +
                '}';
    }
}
